package com.lagou.edu.dao;

import com.lagou.edu.model.Article;
import com.lagou.edu.model.PageInfo;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface ArticleMapper {

    @Select("select * from t_article")
    List<Article> manualListPageArticles();

    List<Article> autoListPageArticles(PageInfo<Article> pageInfo);
}
